<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
 <%@include file="../common/tag.jsp"%>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta charset="UTF-8">
		<title>房呗网用户登录</title>
		<script type="text/javascript">
		 	function su(){
		 		var phone=document.getElementsByName("phone")[0].value;
		 		var passwd=document.getElementsByName("passwd")[0].value;
		 		
		 		if(phone==null || phone.length<0){
		 			alert("电话号码不能为空")
		 		}else if(passwd==null || passwd.length<0){
		 			alert("密码不能为空")
		 		}else{
		 			document.forms[0].submit();	
		 		}
		 	}
		</script>	
			<link type="text/css" href="${ctx}/css/logpage.css" rel="stylesheet">
	</head>

	<body>

		<div id="login-header">
			<div class="login-header">
				<a class="gj-logo" target="_blank" href="">房呗网</a>
				<span class="loginType-login">登录</span>
			</div>
		</div>
		<div id="login-content"  style="background-color:#CEEFF5;
			-ms-filter: " progid:dximagetransform.microsoft.gradient="" (gradienttype="1," startcolorstr="#CEEFF5," endcolorstr="#A4E1EC);&quot;" class="active"
		>
			<div class="login-content">
				<a class="loginbg" target="_blank" href="">
					<img src="${ctx}/img/log.png">
				</a>
				<div class="loginWrap">
					
					<div class="loginBox">
						<div class="loginTabBox">
							<span class="loginTab userTab active" data-role="loginTab" >账号密码登录</span>
						</div>

						<div class="loginPanelBox">
							<!--账号密码登录form start-->
							<form  action="${ctx}/user/login.do" ModelAttribute="userInfo"  method="POST" class="loginPanel">
								<!--错误提示-->
							
								<div class="form-div">
									<input type="text" name="phone" class="input-text usename" placeholder="用户名/邮箱/手机号" data-role="input-text" value="" tabindex="1" data-regexp="^\s*$ 您输入的手机号，请输入 0">
									<span class="clear-btn" data-role="clear-btn">
									<form:errors path="phone" cssClass="has-error"/>
									</span>
								</div>
								<div class="form-div error">
									<input type="password" name="passwd" class="input-text usepassword" placeholder="密码" data-role="input-text" maxlength="16" tabindex="2" data-required="required" data-regexp="^\s*$ 您输入的密码不能为空，请输入 0">
									<span class="clear-btn" data-role="clear-btn" style="display: none;">
									
									</span>
								</div>
								
								<div>
									<label class="label-checkbox" data-role="label-checkbox">
	                                <span class="checkbox automaticLogin checked" data-role="checkbox"></span>
	                                <input value="14" checked="true" name="setcookie" type="hidden" class="chk-vm">
	                                <span>自动登录（公共场所勿选）</span>
	                            	</label>
									<a target="_blank" href="">忘记密码</a>

								</div>
								<input class="submit" type="button"   onclick="su()" value="登录" >

							</form>
							
						</div>
					</div>
					<div class="linkBottom">
						<a class="other-login qq-login" href="${ctx}">qq登录</a>
						<a class="other-login wb-login" href="${ctx}">微博登录</a>
						<a class="other-login wx-login" data-role="wx-login">微信登录</a>
						<a class="register" href="${ctx}/user/reg.htm">立即注册</a>
					</div>

					<div class="layer" data-role="layer"></div>
					<div class="wxScanLogin" data-role="wxScanLoginPannel" data-widget="js/v6/login/wx_scan_login.js#scanLogin" >
						<span class="layer-close" data-role="layer-close"></span>
						<p class="title">微信登录</p>
						<img data-role="lgQR" class="wxqrcode-img" src="./赶集网用户登录_files/qrcode_wx.png" alt="">
						<p class="wxTipsBox"><span class="wxTipsBg"></span><span class="wxTips">请用微信扫描二维码登录</span></p>
					</div>
				</div>
			</div>
		</div>
	
		<div id="login-footer">
			<div class="login-footer">
				海淀公安局网络备案编号：1101081759&nbsp;&nbsp;
				<a href="">京ICP证110986号</a>&nbsp;&nbsp;京ICP备11045189&nbsp;&nbsp;乙测资字11011018&nbsp;&nbsp;违法信息举报4008180133&nbsp;&nbsp;
				<a href="">jbpt@58ganji.com</a>
			</div>
		</div>

	</body>
	<script type="text/javascript">
			var message="${message}"
			if(message!=""&&message!=null){
				alert(message)
			}
	</script>
</html>